package codegen.groovy.graphnetwork.model;

public class AbstractPinGraph{
    String name;
    
    def nodes=[]
    def links=[]
    public Graph(){
        
    }
    
    def addNode(){
        
    }
    
    def addLink(Link link){
        links<<link
        link.input= link.start.findValue(link.inputName,false)
        link.output = link.end.findValue(link.outputName,true)
        link.input.link = link
        link.output.link = link
    }
}
